var mysql = require('mysql');
var connection = mysql.createConnection({
  host: 'localhost',
  user: 'root',
  password: 'root',
  database: 'qiuzhi_db',
  multipleStatements: true
});

connection.connect();

// connection.query('SELECT * FROM `user_info`', function (error, results, fields) {
//   if (error) throw error;
//   console.log('The solution is: ' , results);
// });


// connection.end();

module.exports = connection